<!-- 搜索结果页 -->
<div class="container">
	<!-- 搜索结果页 -->
	<div class="panel panel-default">
		<div class="panel-heading">
			<h4 class="panel-title">管理系统检索</h4>
		</div>
		<div class="panel-body">
			<div class="row search-box">
				<div class="col-lg-1 col-lg-offset-3">
					<div id="dropdown1" class="dropdown">
						<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1"
							data-toggle="dropdown">
							<span class="placeholder">uav编号</span>
							<span class="caret"></span>
						</button>
						<ul class="dropdown-menu" role="menu">
							{{!-- 注意value的值 --}}
							<li value="0"><a>uav编号</a></li>
							<li value="1"><a>订单编号</a></li>
							<li value="2"><a>员工编号</a></li>
						</ul>
					</div>
				</div>
				<div class="col-lg-5">
					<div class="input-group">
						<input id="content" type="text" class="form-control">
						<span class="input-group-btn">
							<button id="submit" class="btn btn-default" type="button">再次检索</button>
						</span>
					</div><!-- /input-group -->
				</div><!-- /.col-lg-6 -->
			</div><!-- /.row -->
			<div class="row search-result">

				{{#if searchType.uav}}
				<div class="panel panel-default">
					<div class="panel-heading">
						<h4 class="panel-title">uav信息</h4>
					</div>
					<div class="panel-body">
						<div class="table-responsive">
							<table class="table table-condensed">
								<thead>
									<tr>
										<th>uav编号</th>
										<th>生产日期</th>
										<th>当前电量</th>
										<th>uav状态</th>
										<th>历史匹配订单号</th>
										<th>历史匹配升降台编号</th>
										<th>历史匹配路线编号</th>
									</tr>
								</thead>
								<tbody>
									{{#each result}}
									<tr>
										<td>{{uav_id}}</td>
										<td>{{uav_bridate}}</td>
										<td>{{uav_energy}}</td>
										<td>{{uav_state}}</td>
										<td>{{ORDERID}}</td>
										<td>{{uav_plateid}}</td>
										<td>{{uav_routeid}}</td>
									</tr>
									{{/each}}
								</tbody>
							</table>
						</div>
					</div>
				</div>
				{{/if}}


				{{#if searchType.order}}
				<div class="panel panel-default">
					<div class="panel-heading">
						<h4 class="panel-title">历史订单信息</h4>
					</div>
					<div class="panel-body">
						<div class="table-responsive">
							<table class="table table-condensed">
								<thead>
									<tr>
										<th>订单编号</th>
										<th>顾客编号</th>
										<th>配送时间</th>
										<th>订单状态</th>
										<th>订单价格</th>
									</tr>
								</thead>
								<tbody>
									{{#each result}}
									<tr>
										<td>{{ORDERID}}</td>
										<td>{{CUSID}}</td>
										<td>{{ORDERTIME}}</td>
										<td>{{ORDERSTATE}}</td>
										<td>{{ORDERTOTLEPRICE}}</td>
									</tr>
									{{/each}}
								</tbody>
							</table>
						</div>
					</div>
				</div>
				{{/if}}


				{{#if searchType.emplo}}
				<div class="panel panel-default">
					<div class="panel-heading">
						<h4 class="panel-title">员工信息</h4>
					</div>
					<div class="panel-body">
						<div class="table-responsive">
							<table class="table table-condensed">
								<thead>
									<tr>
										<th>员工编号</th>
										<th>姓名</th>
										<th>性别</th>
										<th>电话</th>
										<th>邮箱</th>
										<th>专业</th>
										<th>角色</th>
										<th>所属网点</th>
									</tr>
								</thead>
								<tbody>
									{{#each result}}
									<tr>
										<td>{{emplo_id}}</td>
										<td>{{emplo_name}}</td>
										<td>{{emplo_sex}}</td>
										<td>{{emplo_phone}}</td>
										<td>{{emplo_email}}</td>
										<td>{{emplo_major}}</td>
										<td>{{emplo_role}}</td>
										<td>{{net_id}}</td>
									</tr>
									{{/each}}
								</tbody>
							</table>
						</div>
					</div>
				</div>
				{{/if}}

			</div>
		</div>
	</div>
	{{>footer}}
</div>